WPTravelEngine\Core\Booking\BookingProcess A

Total Complexity 75
Dependencies 13
Dependents 3
Total lines 834
Lines of code 494
Logical lines of code 198
Comment lines 220
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
initialize_legacy_booking_hooks()
B
30 14 139
process_booking()
A
36 10 75
create_payment()
S
43 5 54
__construct()
S
48 5 34
process_gateway_callback()
S
54 5 19
set_order_items()
S
50 4 29
update_coupon_usage()
S
63 4 11
process_customer()
S
53 3 25
is_booking_request()
S
64 3 9
is_gateway_callback()
S
76 3 3
payment_gateway_process()
S
59 2 14
create_booking()
S
54 1 23
maybe_redirect()
S
63 2 10
set_billing_info()
S
65 2 9
validate_form_data()
S
72 1 5
get_payment_type()
S
82 1 3
is_traveler_information_save_request()
S
78 1 3
is_due_payment_request()
S
78 1 3
send_notification_emails()
S
79 1 3
update_session()
S
78 1 3
update_booking_state()
S
71 1 5
get_booking_ref()
S
78 1 3
get_payment_ref()
S
78 1 3
set_booking_ref()
S
80 1 3
set_payment_ref()
S
80 1 3
get_payment_method()
S
82 1 3